import { Button } from "antd-mobile";

export const CATEGORY = {
  99: {
    feedback: <>
      抱歉<br/>
      您暂无抽奖机会
    </>,
    type: `无机会`,
    key: 99,
  },
  0: {
    feedback: `恭喜您中奖了~`,
    type: `实物`,
    key: 0,
    actions: handler =>  [
      <Button key={`cancel`} onClick={e => handler.prize()} size={`small`} shape={`rounded`}
              className="act-btn act-btn-normal">查看奖品</Button>
    ]
  },
  1: {
    feedback: `恭喜您中奖了~`,
    type: `优惠券`,
    key: 1
  },
  2: {
    feedback: `恭喜您中奖了~`,
    type: `大额优惠券`,
    key: 2
  },
  3: {
    feedback: `恭喜您中奖了~`,
    type: `获得xxU币奖励`,
    key: 3
  },
  4: {
    feedback: `恭喜您中奖了~`,
    type: `2888U币`,
    key: 4
  },
  5: {
    feedback: `差点中奖啦～再接再厉`,
    type: `谢谢参与`,
    key: 5
  }
}